package com.wisdytech.linkdcs.equipLifeCycle.maintain.model;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenbin
 * @since 2018-06-19
 */
@TableName("TT_EQ_MAINTENANCE_RECORD")
public class MaintenanceRecord extends Model<MaintenanceRecord> {

    private static final long serialVersionUID = 1L;
    /**
     * 唯一id
     */
    @TableId("PK_ID")
    private String pkId;
    /**
     * 保养任务表id
     */
    @TableField("TASK_ID")
    private String taskId;
    /**
     * 保养总耗时
     */
    @TableField("MAINTAIN_TIME_SPAN")
    private Double maintainTimeSpan;
    /**
     * 确认人
     */
    @TableField("CONFIRM_USER")
    private String confirmUser;
    /**
     * 确认时间
     */
    @TableField("CONFIRM_DATE")
    private Date confirmDate;
    /**
     * 确认结果
     */
    @TableField("CONFIRM_RESULT")
    private Double confirmResult;
    /**
     * 状态
     */
    @TableField("STATUS")
    private Double status;
    /**
     * 删除标志
     */
    @TableField("DEL_FLAG")
    private String delFlag;
    /**
     * 
     */
    @TableField("CREATE_USER")
    private String createUser;
    /**
     * 创建人
     */
    @TableField("CREATE_DATE")
    private Date createDate;
    /**
     * 创建时间
     */
    @TableField("UPDATE_USER")
    private String updateUser;
    /**
     * 修改人
     */
    @TableField("UPDATE_DATE")
    private Date updateDate;
    /**
     * 修改时间
     */
    @TableField(exist=false)
    private String equipCode;
    /**
     * 供应商
     */
    @TableField(exist=false)
    private String supplier;
    /**
     * 设备类型
     */
    @TableField(exist=false)
    private String modelType;
    /**
     * 设备名称
     */
    @TableField(exist=false)
    private String equipName;
    /**
     * 厂区名称
     */
    @TableField(exist=false)
    private String factoryName;
    /**
     * 产线名称
     */
    @TableField(exist=false)
    private String lineName;
    /**
     * 车间名称
     */
    @TableField(exist=false)
    private String shopName;
    /**
     * 区域名称
     */
    @TableField(exist=false)
    private String areaName;
    /**
     * 保养类别编号
     */
    @TableField(exist=false)
    private String typeCode;
    /**
     * 保养周期
     */
    @TableField(exist=false)
    private String maintainCycle;
    /**
     * 保养类别id
     */
    @TableField(exist=false)
    private String typeId;
    /**
     * 上次保养时间
     */
    @TableField(exist=false)
    private Date lastDate;
    /**
     * 下次保养时间
     */
    @TableField(exist=false)
    private Date nextDate;
    /**
     * 保养人
     */
    @TableField(exist=false)
    private String maintainUserName;
    /**
     * 保养任务类型（周期或临时）
     */
    @TableField(exist=false)
    private String type;
    @TableField(exist=false)
    private String TaskStatus;
    
    @TableField(exist=false)
    private String maintenanceResult;
    @TableField(exist=false)
    private String stopItem;
    
    @TableField(exist=false)
    private String typeName;
    
    @TableField(exist=false)
    private String itemCode;
    
    @TableField(exist=false)
    private String itemName;
    
    @TableField(exist=false)
    private String maintenanceMethod;
    
    @TableField(exist=false)
    private String qualityItem;
    
   
    public String getTaskStatus() {
		return TaskStatus;
	}

	public void setTaskStatus(String taskStatus) {
		TaskStatus = taskStatus;
	}

	public String getMaintainUserName() {
		return maintainUserName;
	}

	public void setMaintainUserName(String maintainUserName) {
		this.maintainUserName = maintainUserName;
	}

	public String getPkId() {
        return pkId;
    }

    public void setPkId(String pkId) {
        this.pkId = pkId;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public Double getMaintainTimeSpan() {
        return maintainTimeSpan;
    }

    public void setMaintainTimeSpan(Double maintainTimeSpan) {
        this.maintainTimeSpan = maintainTimeSpan;
    }

    public String getConfirmUser() {
        return confirmUser;
    }

    public void setConfirmUser(String confirmUser) {
        this.confirmUser = confirmUser;
    }

    public Date getConfirmDate() {
        return confirmDate;
    }

    public void setConfirmDate(Date confirmDate) {
        this.confirmDate = confirmDate;
    }

    public Double getConfirmResult() {
        return confirmResult;
    }

    public void setConfirmResult(Double confirmResult) {
        this.confirmResult = confirmResult;
    }

    public Double getStatus() {
        return status;
    }

    public void setStatus(Double status) {
        this.status = status;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    @Override
    protected Serializable pkVal() {
        return this.pkId;
    }

    @Override
    public String toString() {
        return "MaintenanceRecord{" +
        ", pkId=" + pkId +
        ", taskId=" + taskId +
        ", maintainTimeSpan=" + maintainTimeSpan +
        ", confirmUser=" + confirmUser +
        ", confirmDate=" + confirmDate +
        ", confirmResult=" + confirmResult +
        ", status=" + status +
        ", delFlag=" + delFlag +
        ", createUser=" + createUser +
        ", createDate=" + createDate +
        ", updateUser=" + updateUser +
        ", updateDate=" + updateDate +
        "}";
    }

	public String getSupplier() {
		return supplier;
	}

	public void setSupplier(String supplier) {
		this.supplier = supplier;
	}

	public String getModelType() {
		return modelType;
	}

	public void setModelType(String modelType) {
		this.modelType = modelType;
	}

	public String getEquipName() {
		return equipName;
	}

	public void setEquipName(String equipName) {
		this.equipName = equipName;
	}

	public String getFactoryName() {
		return factoryName;
	}

	public void setFactoryName(String factoryName) {
		this.factoryName = factoryName;
	}

	public String getLineName() {
		return lineName;
	}

	public void setLineName(String lineName) {
		this.lineName = lineName;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}



	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public String getTypeCode() {
		return typeCode;
	}

	public void setTypeCode(String typeCode) {
		this.typeCode = typeCode;
	}

	public String getMaintainCycle() {
		return maintainCycle;
	}

	public void setMaintainCycle(String maintainCycle) {
		this.maintainCycle = maintainCycle;
	}

	public String getTypeId() {
		return typeId;
	}

	public void setTypeId(String typeId) {
		this.typeId = typeId;
	}

	public String getEquipCode() {
		return equipCode;
	}

	public void setEquipCode(String equipCode) {
		this.equipCode = equipCode;
	}

	public Date getLastDate() {
		return lastDate;
	}

	public void setLastDate(Date lastDate) {
		this.lastDate = lastDate;
	}

	public Date getNextDate() {
		return nextDate;
	}

	public void setNextDate(Date nextDate) {
		this.nextDate = nextDate;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getMaintenanceResult() {
		return maintenanceResult;
	}

	public void setMaintenanceResult(String maintenanceResult) {
		this.maintenanceResult = maintenanceResult;
	}

	public String getStopItem() {
		return stopItem;
	}

	public void setStopItem(String stopItem) {
		this.stopItem = stopItem;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public String getItemCode() {
		return itemCode;
	}

	public void setItemCode(String itemCode) {
		this.itemCode = itemCode;
	}

	public String getItemName() {
		return itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	public String getMaintenanceMethod() {
		return maintenanceMethod;
	}

	public void setMaintenanceMethod(String maintenanceMethod) {
		this.maintenanceMethod = maintenanceMethod;
	}

	public String getQualityItem() {
		return qualityItem;
	}

	public void setQualityItem(String qualityItem) {
		this.qualityItem = qualityItem;
	}
	
    
    
}
